package com.xinxing.city.recovery.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.xinxing.city.recovery.R;

public class SetOpsActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_set_ops);
    }
    public void urlTz(View view) {
        String str = view.getTag().toString();
        if (str.equals("1")) {
            Intent intent = new Intent(this, OpsSet1Activity.class);
            startActivity(intent);
        } else if(str.equals("2")) {
            Intent intent = new Intent(this, OpsSet2Activity.class);
            startActivity(intent);
        } else if(str.equals("3")) {
            Intent intent = new Intent(this, OpsSet3Activity.class);
            startActivity(intent);
        } else if(str.equals("4")) {
            Intent intent = new Intent(this, OpsSet4Activity.class);
            startActivity(intent);
        } else if(str.equals("5")) {
            Intent intent = new Intent(this, OpsSet5Activity.class);
            startActivity(intent);
        } else if(str.equals("6")) {
            Intent intent = new Intent(this, OpsSet6Activity.class);
            startActivity(intent);
        }
    }
}
